package com.sa07.config;

import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Properties;

import com.sa07.bean.SystemConstant;

/**
 * 用户参数配置初始化
 * 
 * @author Long.shangbo
 *
 * 2014-2-25 下午2:40:18
 */
public class UserArgsConfigInit extends PropertiesConfigInit {

	@Override
	protected InputStream getConfigInputStream() throws Exception {
		return new BufferedInputStream(new FileInputStream(SystemConstant.USER_ARGS_FILE));
	}

	@Override
	protected void analyzeProperties(Properties pro) {
		UserArgsConfig.INSTANCE.init(pro);
	}

}
